package cn.lili.modules.service;

import cn.lili.common.vo.PageVO;
import cn.lili.modules.operationcenter.entity.enums.DateTypeEnum;
import cn.lili.modules.operationcenter.entity.vos.OperationCenterSupplierVo;
import cn.lili.modules.operationcenter.entity.vos.UrbanStationSearchParams;
import cn.lili.modules.urbansubstation.entity.dos.UrbanSubstation;
import cn.lili.modules.urbansubstation.entity.dto.UrbanSubstationSearchParams;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface UrbanStationSupplierService {

    /**
     * 分页获取城市分站服务商信息
     * @param searchParams
     * @param page
     * @return
     */
    Page<UrbanSubstation> getUrbanByPage (UrbanSubstationSearchParams searchParams, PageVO page);

    /**
     * 根据日期获取城市分站下供应商数量
     * @return
     */
    Long getUrbanSupplierCount (UrbanStationSearchParams params);

    /**
     * 根据日期获取城市分站下商品数量
     * @return
     */
    Long getUrbanGoodsCount (UrbanStationSearchParams params);

    /**
     * 分页获取供货商信息
     * @param page
     * @return
     */
    Page<OperationCenterSupplierVo> getSupplierByPage (String supplierName, String urbanId, PageVO page);
}
